#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{
	double a = 0;
	double b = 0;
	double c = 0;
	scanf("%d %d %d", &a, &b, &c);
	double d = b*b - 4 * a * c;
	if ( a== 0)
	{
		printf("Not quadratic equation");
	}
	else if (d < 0)
	{
		printf("x1=%.2lf-%.2lf;x2=%.2lf+%.2lf\n",(-b) / (2 * a), sqrt(-d) / (2 * a),(-b) / (2 * a), sqrt(-d) / (2 * a));
	}
	else  if(d>0)
	{
		printf("x1=%.2lf;x2=%.2lf\n", (-b - sqrt(-d)) / (2 * a), (-b + sqrt(-d)) / (2 * a));
	}
	else
	{
		printf("x1=x2=%.2lf\n", (-b) / (2 * a));
	}
	return 0;
}